package com.zsc.shixun.model.authority;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 角色创建VO
 * </p>
 *
 * @author ZWYZY
 * @since 2020/6/23
 */
@Data

public class RoleCreateVO {

    @ApiModelProperty(value = "角色名称")
    @NotNull(message = "必须填角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String name;

    @ApiModelProperty(value = "角色简介")
    private String content;

}
